package com.ruoyi.flowable.service;



import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.flowable.domain.TaskVo;

import java.util.Map;

public interface ITaskService {
    TableDataInfo todoList(Integer pageNum, Integer pageSize, String taskName);

    TableDataInfo finishList(Integer pageNum, Integer pageSize, String taskName);

    TaskVo selectTaskByTaskId(String taskId);

    Map<String, Object> taskRecord(String procInstId);

    void complete(TaskVo taskVo);

    void taskReject(TaskVo taskVo);

    void stopProcess(TaskVo taskVo);
}
